~:extend('_index')~

~[body]~
      <style type="text/css">
      .sidebar-nav {
        padding: 9px 0;

      }
      .error{
        color: red;
      }
    </style>


 ~[navigation]~
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="">YouWebapp</a>
          <div class="nav-collapse collapse">
            <p class="navbar-text pull-right">
              <!--/.pill right -->
            </p>
            <ul class="nav">
             
              <li class="active"><a href="~~:url('user')~">主页</a></li>
              <li><a href="~~:url('webapp/about')~">关于</a></li>
              <li><a href="~~:url('webapp/contact')~">联系</a></li>
              
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
~[/navigation]~
<div id="messenger">
  ~~@:raw($messenger.jq)~
    <div class="alert alert-success">
        <strong>提示: </strong> ~~@:raw($messenger.content)~
        <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
</div>  
    
~[container]~
    
    <div class="container-fluid" style="max-width:900px; align:center; margin: 0 auto;">
      <div class="row-fluid">

        ~[left]~

        <div class="span3" >
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
              <li class="nav-header">Youwebapp</li>
              <li class="active" id="nav-a"><a href="~~:url('user')~"><i class="icon-th-list"></i> 主页</a></li>
              <li><a href="~~:url('add')~"><i class="icon-plus"></i> 添加</a></li>
              <li><a href="~~:url('edit')~"><i class="icon-pencil"></i> 编辑</a></li>

              <li class="nav-header">User</li>
              <li><a href="~~:url('config')~"><i class="icon-user"></i> 用户</a></li>
              <li><a href="~~:url('logout')~"><i class="icon-off"></i> 登出</a></li>

            </ul>
          </div><!--/.well -->
        </div><!--/span-->
        ~[/left]~

        ~[right]~

        <div class="span9">
          <div class="hero-unit" >
            <h1>Hello, world!</h1>
            <p></p>
            <br/>

            <p><a href="~~:url('add')~" class="btn btn-primary btn-large">现在就开始做个Webapp &raquo;</a></p>
          </div>
          <div class="row-fluid">
            <div class="span4">
              <h2>No. 1</h2>
              <p>点击 <span class="label label-info">添加</span> 进入添加 Webapp 界面，只需要输入题目和你想要的内容就可以了。很简单吧！</p>
              
            </div><!--/span-->
            <div class="span4">
              <h2>No. 2</h2>
              <p>如何你想编辑 Webapp 可以点击 <span class="label label-info">编辑</span> 进行编辑。还可以进行修改，查看，修改链接 等等。</p>
              
            </div><!--/span-->
            <div class="span4">
              <h2>No. 3</h2>
              <p>在 <span class="label label-info">编辑</span> 你还可以点击 <i class="icon-qrcode"></i>  下载你 Webapp 的 QR码, 可以打印到你想放到的地方。除此之外我们还提供了很酷的打印界面。</p>
              
            </div><!--/span-->
          </div><!--/row-->
        
        </div><!--/span-->

        ~[/right]~

      </div><!--/row-->

      <hr>

      <footer>
        <p>&copy; YouWebapp ~~date("Y");~</p>
      </footer>

    </div>
~[/container]~    

~[/body]~

